<?php
/**
 * Created by PhpStorm.
 * Author: 黑瞎子
 * Date: 2018/3/18
 * Time: 14:28
 */

namespace app\lib\exception;


class TokenException extends BaseException
{
    //HTTP 状态码 401未授权
    public $code = 401;

    //错误具体信息
    public $msg = 'token已过期或无效token';

    //自定义的错误码
    public $errorCode = 10001;
}